# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-partd
pkgver=1.1.0
pkgrel=0
pkgdesc="Concurrent appendable key-value storage"
url="https://github.com/dask/partd/"
arch="noarch !mips !mips64 !s390x" # Blocked by py3-pyzmq
license="BSD-3-Clause"
depends="python3 py3-toolz py3-numpy py3-pyzmq py3-pandas py3-locket"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/p/partd/partd-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/partd-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="5e26c4a63fc2f9a290b211c1fce291da6b3354b4d0fdf941d29ddad1252629c94275ac360d33c88d11ff4e36a4f4d6bee42edd867c92eb7ef0d2697472c9a338  partd-1.1.0.tar.gz"
